package io.renren.modules.task.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;
import io.renren.modules.task.dao.CleanTaskDao;
import io.renren.modules.task.entity.CleanTaskEntity;
import io.renren.modules.task.service.CleanTaskService;



@Service("cleanTaskService")
public class CleanTaskServiceImpl extends ServiceImpl<CleanTaskDao, CleanTaskEntity> implements CleanTaskService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<CleanTaskEntity> page = this.page(
                new Query<CleanTaskEntity>().getPage(params),
                new QueryWrapper<CleanTaskEntity>()
        );

        return new PageUtils(page);
    }

}